.wrap {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.center {
    min-width: 320px;
    width: 60%;
    max-width: 600px;
    // height: 500px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .successBox {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    h2 {
       padding: 0 4rem
    }
    h3 {
        padding: 0 4rem
    }

}

.modalHeader {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    span {
        padding: 10px 20px;
        cursor: pointer;
    }
}

.formDisplay {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    input {
        height: 2rem;
        width: 40rem;
    }

    .error {
        width  : 100%;
        padding: 0;
      
        font-size: 80%;
        color: white;
        background-color: #900;
        border-radius: 0 0 5px 5px;
      
        -moz-box-sizing: border-box;
        box-sizing: border-box;
      }
      
      .error.active {
        padding: 0.3em;
      }

    /* 校验失败的元素样式 */
        // input:invalid{
        //     border-color: #900;
        //     background-color: #FDD;
        // }
        
        input:focus:invalid {
            outline: none;
        }
}

.labelDislay {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}